package com.nebula.upms.admin.spring;

import com.nebula.common.datasource.mybatis.spring.MyBatisConfig;
import com.nebula.upms.service.support.constant.Constant;
import org.springframework.context.annotation.Configuration;

/**
 * Created by Mtime on 2017/3/31.
 */

@Configuration("UpmsMybatisConfigFor")
public class UpmsMybatisConfig extends MyBatisConfig {

    @Override
    public void initDs() {
        addDsName(Constant.MYSQL_MAIN);
    }
}
